import React from "react";
import { Outlet } from "react-router-dom";
import { ConfigProvider } from "antd";
import zhCN from 'antd/locale/zh_CN';

const Layout = () => {
  return (
    <ConfigProvider locale={zhCN}>
      <Outlet />
    </ConfigProvider>
  );
};

export default Layout;
